home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 90 / CDMM_90_1.ISO / Cycling Manager 2 / CyclingManager2Demo.exe / Disk1 / data1.cab / Game / DataCM2 / scripts / net / lan.cnh < prev    next >
Encoding:
Text File  |  2002-05-10  |  908 b   |  37 lines

  1. // ******************************
  2. // * functions
  3. // ******************************
  4.  
  5. func void fnLanBroadcastCB(szx szIP, i32x iPort, szx szString);
  6. func void fnLanBroadcast();
  7. func void LanBroadcastConnectCB(Net_Client pClient);
  8. func void LanBroadcastDisconnectCB(Net_Client pClient);
  9. func void fnLanBroadcast_CreateReceiver();
  10. func void fnLanBroadcast_DestroyReceiver();
  11.  
  12.  
  13.  
  14. // ******************************
  15. // * incomming messages
  16. // ******************************
  17.  
  18. interface NullInterface
  19. {
  20. }
  21.  
  22.  
  23. // ******************************
  24. // * outgoing messages
  25. // ******************************
  26.  
  27. message mLanGame(szx szName,i32x iPort,i32x iGameMode,i32x _iNumConnected);
  28.  
  29. // ******************************
  30. // * globals
  31. // ******************************
  32.  
  33.  
  34. var Net_UDPServer g_pLanUDPServer;
  35. var Net_UDPServer g_pNullUDPServer;
  36. var i32x G_iLanBroadcastPort = 3030; // fixed port
  37.